
public class HelloClass {
	
	private int counter = 0;
	
	@Cacheable
	public void publishCounter(){
		System.out.println(this.getCounter());
	}
	
	
	public static void main(String[] args) {
		new HelloClass().publishCounter();
	}


	public void setCounter(int counter) {
		this.counter = counter;
	}


	public int getCounter() {
		return counter;
	}

}
